package com.oauth.global.client.ui.status;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
import com.oauth.global.client.rpc.GlobalRemoteServiceAsync;

public class StatusWindowPanel extends Composite {

	private static StatusWindowPanelUiBinder uiBinder = GWT.create(StatusWindowPanelUiBinder.class);

	interface StatusWindowPanelUiBinder extends UiBinder<Widget, StatusWindowPanel> {
	}

	@UiField
	StatusPanel statusPanel;

	public StatusWindowPanel() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	/**
	 * @param pGlobalRemoteServiceAsync
	 * @see com.oauth.global.client.ui.status.StatusPanel#setService(com.oauth.global.client.rpc.GlobalRemoteServiceAsync)
	 */
	public void setService(GlobalRemoteServiceAsync pGlobalRemoteServiceAsync) {
		statusPanel.setService(pGlobalRemoteServiceAsync);
	}

	/**
	 * 
	 * @see com.oauth.global.client.ui.status.StatusPanel#initImages()
	 */
	public void initImages() {
		statusPanel.initImages();
	}

}
